package com.xzl.time.service;

import com.github.pagehelper.PageInfo;
import com.xzl.time.pojo.Notice;

/**
 * @describe ：
 * @PageLocation:
 * @Auther xzl
 * @Date 2022/1/7 15:34
 */
public interface INoticeService {
    //新增消息
    int insert(Notice notice);
    //通过消息类型和用户名查询消息
    PageInfo<Notice> getNoticeByTypeAndReceiverId(int pageNum, int pageSize, String targetType, String userName);
}
